//
//  WWDemo_1_Controller.swift
//  SinWEiBo
//
//  Created by 胡良志 on 2018/3/13.
//  Copyright © 2018年 HuLiangZhi. All rights reserved.
//

import UIKit

class WWDemo_1_Controller: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        self.view.backgroundColor = #colorLiteral(red: 1.0, green: 1.0, blue: 1.0, alpha: 1.0)
        self.title = "扫一扫"
     //   self.navigationItem.leftBarButtonItem = UIBarButtonItem(title: "返回", imageName: <#T##String#>, target: <#T##Any?#>, action: <#T##Selector?#>)
        self.navigationItem.leftBarButtonItem = UIBarButtonItem(title: "关闭", style: .done, target: self, action: #selector(back))
        
//        let label = UILabel(title: , fountSize: <#T##CGFloat#>, textColor: <#T##UIColor#>)
    }

    @objc func back (){
        self.navigationController?.dismiss(animated: true, completion: nil)
    }

}
